home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / AppleScript / Development Tools / Sample Code / Sample OSA Component / In MPW Pascal / OSASampleComponent.r < prev    next >
Encoding:
Text File  |  1995-11-08  |  473 b   |  22 lines  |  [TEXT/MPS ]

  1. #include "Types.r"
  2. #include "SysTypes.r"
  3. //#include "Components.r"
  4.  
  5.  
  6. resource 'thng' (128, sysHeap) {
  7.     'osa ', 'SMPL', 'appl', 0x0000004E, 0x00,    /* ComponentDescription */
  8.     'PROC', 128,                                /* resource where Component code is found */
  9.     'STR ', 128,                                /* name string resource */
  10.     'STR ', 129,                                /* info string resource */
  11.     'ICON', 0                                    /* icon resource */
  12. };
  13.  
  14.  
  15. resource 'STR ' (128) {
  16.     "SampleScript"
  17. };
  18.  
  19. resource 'STR ' (129) {
  20.     "Sample OSA Component"
  21. };
  22.